import http from '../utils/http';

export const signinModel = async (data) => {
  try {
    let {
      result: res,
      jqXHR
    } = await http({
      url: 'api/users/signin',
      data,
      type: 'post'
    });
    return {
      res,
      jqXHR
    };
  } catch (err) {
    console.log(err);
  }
}